package com.manli.api.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * VIEW
 *
 * @author manli
 * @email
 * @date 2020-09-07 14:43:19
 */
@ApiModel(value = "VIEW")
@Data
public class QueryViewOrderGoods implements Serializable {

	/**
	 * branch_id
	 */

	@ApiModelProperty(value = "branch_id",dataType = "Integer")
	private Integer branchId;
	/**
	 * 机构名称
	 */

	@ApiModelProperty(value = "机构名称",dataType = "String")
	private String branchName;
	/**
	 * 总店头像
	 */

	@ApiModelProperty(value = "总店头像",dataType = "String")
	private String branchHeadImg;
	/**
	 *
	 */

	@ApiModelProperty(value = "",dataType = "Integer")
	private Integer partnerId;
	/**
	 * 分支机构名称
	 */

	@ApiModelProperty(value = "分支机构名称",dataType = "String")
	private String partnerName;
	/**
	 * 店铺头像
	 */

	@ApiModelProperty(value = "店铺头像",dataType = "String")
	private String partnerHeadImg;
	/**
	 * 唯一标识
	 */

	@ApiModelProperty(value = "唯一标识",dataType = "Integer")
	private Integer goodsDefId;
	/**
	 * 商品图片 可以多个用逗号隔开
	 */

	@ApiModelProperty(value = "商品图片 可以多个用逗号隔开",dataType = "String")
	private String goodsPic;
	/**
	 * 商品名称
	 */

	@ApiModelProperty(value = "商品名称",dataType = "String")
	private String goodsName;
	/**
	 * -2草稿 ,-1提交审核(待审核)0退回,1上架成功,2下架,-3删除
	 */

	@ApiModelProperty(value = "-2草稿 ,-1提交审核(待审核)0退回,1上架成功,2下架,-3删除",dataType = "Integer")
	private Integer goodsdefstatus;
	/**
	 * 1：到店自取 2：配送到家
	 */

	@ApiModelProperty(value = "1：到店自取 2：配送到家",dataType = "String")
	private String buyMethod;
	/**
	 * 唯一标识
	 */

	@ApiModelProperty(value = "唯一标识",dataType = "Integer")
	private Integer goodsModelId;
	/**
	 * 商品规格名称
	 */

	@ApiModelProperty(value = "商品规格名称",dataType = "String")
	private String goodsModelName;
	/**
	 * 0禁用 1启用，-1删除
	 */

	@ApiModelProperty(value = "0禁用 1启用，-1删除",dataType = "Integer")
	private Integer goodsmodelstatus;

	/**
	 *  -1取消订单 0 待支付 1支付成功  2 退款中  3已退款  4 已使用（已核销）
	 */

	@ApiModelProperty(value = " -1取消订单 0 待支付 1支付成功  2 退款中  3已退款  4 已使用（已核销）",dataType = "Integer")
	private Integer status;
	/**
	 * 购物者的地址
	 */

	@ApiModelProperty(value = "购物者的地址",dataType = "String")
	private String buyerAddress;
	/**
	 * 购物者的联系方式
	 */

	@ApiModelProperty(value = "购物者的联系方式",dataType = "String")
	private String buyerPhone;
	/**
	 * 购买数量
	 */

	@ApiModelProperty(value = "购买数量",dataType = "Integer")
	private Integer buyCount;
	/**
	 * 总订单号
	 */

	@ApiModelProperty(value = "总订单号",dataType = "String")
	private String orderNoMain;
	/**
	 * 子订单号
	 */

	@ApiModelProperty(value = "子订单号",dataType = "String")
	private String orderNoSub;
	/**
	 * 本订单应该支付多少钱
	 */

	@ApiModelProperty(value = "本订单应该支付多少钱",dataType = "Double")
	private Double shouldPayPrice;

	@ApiModelProperty(value = "",dataType = "Integer")
	private Integer activityTypeId;


	@ApiModelProperty(value = "",dataType = "String")
	private String source;

	@ApiModelProperty(value = "",dataType = "Integer")
	private String sourceSub;

	@ApiModelProperty(value = "本订单总共优惠多少钱",dataType = "Double")
	private Double preferentialPrice;


	@ApiModelProperty(value = "申请退款id",dataType = "Integer")
	private Integer orderRefuseApplyId;

	@ApiModelProperty(value = "",dataType = "String")
	private String buyerName;

	@ApiModelProperty(value = "分页页数",dataType = "Long")
	private long page;
	@ApiModelProperty(value = "分页条数",dataType = "Long")
	private long limit;

	@ApiModelProperty(value = "",dataType = "String")
	private String createTimeStart;

	@ApiModelProperty(value = "",dataType = "String")
	private String createTimeEnd;



}
